Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IRange Interface / Union Method / Union(IRange[]) Method
Other ranges to union with this range.
In This Topic
    Union(IRange[]) Method
    In This Topic
    Returns an IRange object that represents the union of several ranges.

    If one or more ranges from a different worksheet are specified, an exception is thrown.
    Syntax
    IRange Union( 
       params IRange[] ranges
    )

    Parameters

    ranges
    Other ranges to union with this range.

    Return Value

    A new range which consists of the union of this range and other ranges.
    See Also